package cn.kgc.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;

/**
 * @Author: 课工场
 * @Version: v1.0  2023/2/21
 * @Description:
 */
@SpringBootApplication
@EnableCircuitBreaker  // 开启熔断服务
public class HystrixApplication {

    public static void main(String[] args) {
        SpringApplication.run(HystrixApplication.class, args);
    }

}
